Skip to content

[Search] Drafts how to use OpenAI compatible models with the inference API #935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Apr 14, 2025

Conversation

szabosteve
Copy link
Contributor

@szabosteve szabosteve commented Mar 26, 2025

Overview

Related to https://github.com/elastic/search-docs-team/issues/266

This PR describes how to install an OpenAI-compatible model on your local machine using Ollama and how to connect it to ES.

Preview

Using OpenAI compatible models

@szabosteve szabosteve added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 26, 2025
@szabosteve szabosteve marked this pull request as ready for review March 26, 2025 15:27
@szabosteve szabosteve requested a review from davidkyle April 8, 2025 14:11
Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@szabosteve szabosteve enabled auto-merge (squash) April 10, 2025 15:52
@szabosteve szabosteve disabled auto-merge April 10, 2025 15:53
Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few thoughts, publishing as diff is refreshing 😄

@@ -43,6 +43,7 @@ toc:
- file: search/semantic-search/semantic-search-inference.md
- file: search/semantic-search/semantic-search-elser-ingest-pipelines.md
- file: search/semantic-search/cohere-es.md
- file: search/semantic-search/using-openai-compatible-models.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe moving this page up one level to sit directly under "AI-powered search" rather than nested under "Semantic search" would better reflect its broader applicability?

Alternatively, we could even create a new top-level category, that highlights LLM integration as a distinct capability that cuts across multiple use cases.

@szabosteve szabosteve merged commit 3f7b06a into main Apr 14, 2025
5 checks passed
@szabosteve szabosteve deleted the szabosteve/openai-compatible-models branch April 14, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants